package cn.hl.sfzy.service;

import cn.hl.sfzy.entity.Consult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ConsultService {
    int add(Consult consult);

    int remove(Long[] id);

    int edit(Consult consult);

    List<Consult> find(Consult consult);

    PageInfo<Consult> findByPage(int pageNo, int pageSize, Consult consult);

    PageInfo<Consult> findByName1(int pageNum, int pageSize, String name);
    PageInfo<Consult> findByName2(int pageNum, int pageSize, String name);

}
